export const columns = [
  {
    title: '货物需求号',
    dataIndex: 'requestNo',
    type: 'serialNumber',
    sign: [{ isFTL: false }],
  },
  {
    title: '需求号',
    type: 'serialNumber',
    dataIndex: 'requestNo',
    sign: [{ isFTL: true }],
  },
  {
    title: '子订单号',
    width: 100,
    dataIndex: 'requestId',
  },
  {
    title: '货主订单号',
    type: 'serialNumber',
    dataIndex: 'preShipmentNo',
    sign: [{ isFTL: false }],
  },
  {
    title: '需求状态',
    width: 100,
    type: 'state',
    dataIndex: 'requestStatus',
    dicKey: 'matching.shipment.request_status',
  },
  {
    title: '标签',
    width: 120,
    dataIndex: 'shipmentTag',
    dicKey: 'request.request_shipment.tag',
  },
  {
    title: '紧急程度',
    width: 120,
    dataIndex: 'urgentType',
    type: 'tag',
    dicKey: 'request.request.urgent_type',
    sign: [{ isExt: true }],
  },
  {
    title: '路由信息',
    dataIndex: 'nodeCounts',
    width: 200,
    sign: [{ isFTL: true }],
  },
  {
    title: '外部订单号1',
    width: 160,
    dataIndex: 'ext10',
    sign: [{ isExt: true }],
  },
  {
    title: '外部订单号2',
    width: 160,
    dataIndex: 'ext11',
    sign: [{ isExt: true }],
  },
  {
    title: '货物名称',
    width: 100,
    dataIndex: 'goodsNames',
    sign: [{ isFTL: false }],
  },
  {
    title: '货物编码',
    width: 160,
    dataIndex: 'goodsCode',
    sign: [{ isExt: true }],
  },
  {
    title: '货物统计',
    width: 100,
    dataIndex: 'goodsCount',
    hideInSearch: true,
  },
  {
    title: '取货时间',
    width: 200,
    type: 'Date',
    searchKey: 'estimateArriveTimes',
    dataIndex: 'firstPointArriveTime',
    sign: [{ isFTL: false }],
  },
  {
    title: '发货地名称',
    width: 200,
    dataIndex: 'startPointName',
    sign: [{ isFTL: false }],
  },
  {
    title: '收货地名称',
    width: 200,
    dataIndex: 'endPointName',
    sign: [{ isFTL: false }],
  },
  {
    title: '发货地',
    width: 240,
    dataIndex: 'startPoint',
    type: 'City',
    sign: [{ isFTL: false }],
  },
  {
    title: '收货地',
    width: 200,
    dataIndex: 'endPoint',
    type: 'City',
    sign: [{ isFTL: false }],
  },
  {
    title: '起始地地址',
    width: 200,
    dataIndex: 'senderAddress',
    type: 'City',
    searchKey: 'senderAddressCode',
    sign: [{ isFTL: false }],
  },
  {
    title: '起始地联系人',
    width: 100,
    dataIndex: 'senderName',
    sign: [{ isFTL: false }],
  },
  {
    title: '起始地联系人电话',
    width: 120,
    dataIndex: 'senderPhone',
    sign: [{ isFTL: false }],
  },
  {
    title: '目的地地址',
    width: 200,
    dataIndex: 'receiverAddress',
    searchKey: 'receiverAddressCode',
    type: 'City',
    sign: [{ isFTL: false }],
  },
  {
    title: '目的地联系人',
    width: 100,
    dataIndex: 'receiverName',
    sign: [{ isFTL: false }],
  },
  {
    title: '目的地联系人电话',
    width: 120,
    dataIndex: 'receiverPhone',
    sign: [{ isFTL: false }],
  },
  {
    title: '来源',
    width: 100,
    dataIndex: 'sourceType',
    dicKey: 'matching.shipment.source_type',
  },
  {
    title: '货主',
    width: 100,
    dataIndex: 'consignorName',
  },
  {
    title: '回单要求',
    width: 120,
    dataIndex: 'receipt',
    hideInSearch: true,
  },
  {
    title: '回单状态',
    width: 100,
    dataIndex: 'receiptStatus',
    dicKey: 'matching.request.receipt_audit_status',
  },
  {
    title: '线路信息',
    width: 312,
    dataIndex: 'routes',
    hideInSearch: true,
  },
  {
    title: '运力订单编号',
    width: 160,
    dataIndex: 'shipmentNo',
  },
  {
    title: '订单状态',
    width: 100,
    type: 'state',
    dataIndex: 'orderState',
    searchKey: 'orderStates',
    fieldProps: { mode: 'multiple' },
    dicKey: 'matching.shipment.shipment_status',
  },
  {
    title: '标签',
    width: 120,
    dataIndex: 'signTagList',
    // fieldProps: { mode: 'multiple' },
    dicKey: 'shipment.shipment.sign',
    sign: [{ isExt: true }],
  },
  {
    title: '指派类型',
    width: 100,
    dataIndex: 'assignType',
    dicKey: 'matching.request.assign_type',
  },
  {
    title: '司机姓名',
    width: 100,
    dataIndex: 'driverName',
  },
  {
    title: '司机手机号',
    width: 120,
    dataIndex: 'driverPhone',
  },
  {
    title: '车牌',
    width: 120,
    dataIndex: 'carNumber',
  },
  {
    title: '车型',
    width: 120,
    dataIndex: 'carType',
    dicKey: 'resource.vehicle.vehicle_type_code',
  },
  {
    title: '车长',
    width: 120,
    dataIndex: 'carLength',
    dicKey: 'resource.vehicle.vehicle_length',
  },
  {
    title: '承运商名称',
    width: 160,
    dataIndex: 'carrierName',
  },
  {
    title: '承运商手机号',
    width: 120,
    dataIndex: 'carrierPhone',
  },
  {
    key: 'priceMode',
    title: '计价方式',
    dataIndex: 'priceMode',
    width: 100,
    dicKey: 'request.request.price_model',
    // 零担展示 以及运营平台展示
    sign: [{ isLTL: true }, { isManager: true }],
  },
  {
    title: '总费用',
    unit: '元',
    width: 100,
    valueType: ['centToYuan', 'toThousandth'],
    dataIndex: 'freightCost',
    hideInSearch: true,
  },
];
